using Api.Dto;
using Api.Model;

namespace Api.Repository;

public interface IRepository<T>
{
    public Task<List<T>> GetAllAsync();
    public Task<T?> GetByIdAsync(Guid id);
    public Task<T?> CreateAsync(T entity);
    public Task UpdateAsync(T entity);
    public Task DeleteAsync(T entity);
}